{template 'web/_header'}
{template 'tabs'}
 {if $operation=='display'}  
    <form action="" method="post" enctype="multipart/form-data">
     <div class="panel panel-info">
    <div class="panel-heading">筛选</div>
	<div class="panel-body">
            <div class="form-group">
                <label class="col-xs-12 col-sm-2 col-md-2 col-lg-1 control-label">会员信息</label>
                <div class="col-sm-8 col-lg-6 col-xs-12">
                    <input type="text" class="form-control"  name="realname" value="{$_GPC['realname']}" placeholder="可搜索微信号/姓名/呢称/手机号"/> 
                </div>
                <div class="col-sm-7 col-lg-3 col-xs-12">
                                <button class="btn btn-default"><i class="fa fa-search"></i> 搜索</button>
                                <input type="hidden" name="token" value="{$_W['token']}" />
                                <button type="submit" name="export" value="1" class="btn btn-primary">导出 Excel</button>
		</div>
            </div>
	</div>
	</div>
  <div class="panel panel-default">
    <div class="panel-body table-responsive">
            <table class="table">
                <thead>
                  <tr>
                    <th style="width:10%;">ID</th>
                    <th style='width:10%'>充值时间</th>
                    <th style='width:10%'>呢称</th>
                    <th style='width:10%'>微信号</th>
                    <th style='width:10%'>姓名</th>
                    <th style='width:10%'>手机号码</th>
                    <th style='width:10%'>充值金额</th>
                    <th style='width:10%'>性别</th>
                    <th style='width:10%'>所在城市</th>
                    <th style='width:10%'>内容</th>
                    </tr>
                </thead>
                <tbody>
                    {loop $list $row}
                <tr>
                    <td>{$row['id']}</td>
                    <td>{$row['createtime']} </td>
                    <td>{$row['nickname']} </td>
                    <td>{$row['weixin']}</td>
                    <td>{$row['realname']}</td>
                    <td>{$row['mobile']}</td>
                    <td>{$row['num']}</td>
                    <td>
                     {if $row['gender']==1}
                      男
                      {else}
                      女
                      {/if}
                    </td>
                    <td>{$row['province']} {$row['city']} {$row['area']}</td>
                    <td>{$row['remark']}</td>
                </tr>
                   {/loop}
                </tbody>
            </table>
            {$pager}
        </div>
    </div>
</form>
{/if}
{template 'web/_footer'}
 